StoreEngine\Addons\Stripe\StripeOrder B

Total Complexity 85
Dependencies 5
Dependents 1
Total lines 856
Lines of code 285
Logical lines of code 128
Comment lines 437
Methods 58
Properties 0

Methods 58

Method Rating Maintainability Complexity Lines of code
lock_payment()
A
56 8 16
get_order_by_meta()
S
50 6 30
get_owner_details()
S
52 4 24
lock_refund()
S
60 3 14
get_status_before_hold()
S
65 3 8
set_status_before_hold()
S
67 3 7
add_payment_intent_to_order()
S
61 2 14
set_payment_awaiting_action()
S
71 2 6
get_by_id()
S
69 2 7
remove_payment_awaiting_action()
S
72 2 6
to_instance()
S
78 2 3
validate_minimum_amount()
S
65 2 10
set_fee()
S
80 1 3
get_intent_id()
S
80 1 3
unlock_payment()
S
77 1 4
set_lock_payment()
S
80 1 3
get_lock_payment()
S
80 1 3
set_refund_id()
S
80 1 3
get_refund_id()
S
80 1 3
set_multibanco_data()
S
80 1 3
get_multibanco_data()
S
80 1 3
set_intent_id()
S
80 1 3
get_upe_payment_type()
S
80 1 3
set_upe_payment_type()
S
80 1 3
get_mandate_id()
S
80 1 3
set_source_id()
S
80 1 3
get_source_id()
S
80 1 3
set_stripe_customer_id()
S
80 1 3
get_stripe_customer_id()
S
80 1 3
set_charge_captured()
S
80 1 3
is_charge_captured()
S
80 1 3
set_status_final()
S
80 1 3
is_status_final()
S
80 1 3
get_by_source_id()
S
79 1 3
is_upe_waiting_for_redirect()
S
80 1 3
set_mandate_id()
S
80 1 3
get_by_setup_intent_id()
S
79 1 3
get_net()
S
79 1 3
set_net()
S
80 1 3
delete_net()
S
81 1 3
get_stripe_currency()
S
80 1 3
set_stripe_currency()
S
80 1 3
get_fee()
S
80 1 3
is_payment_awaiting_action()
S
80 1 3
set_card_brand()
S
80 1 3
get_card_brand()
S
80 1 3
unlock_refund()
S
77 1 4
delete_fee()
S
81 1 3
set_lock_refund()
S
80 1 3
get_lock_refund()
S
80 1 3
set_setup_intent()
S
80 1 3
get_setup_intent()
S
80 1 3
get_by_intent_id()
S
79 1 3
is_upe_redirect_processed()
S
80 1 3
get_by_refund_id()
S
79 1 3
get_by_charge_id()
S
79 1 3
set_upe_waiting_for_redirect()
S
79 1 3
set_upe_redirect_processed()
S
79 1 3